<!DOCTYPE html>
<html lang="en">
<head>
    <title>展会报表-集团管理层</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-store, must-revalidate">
    <meta http-equiv="expires" content="Wed, 26 Feb 1997 08:21:57 GMT">
    <meta http-equiv="expires" content="-1">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="shortcut icon" href="/dist/img/icon.png" type="image/x-icon">
    <link rel="stylesheet" href="/dist/plugins/select2/select2.min.css">
    <!-- Bootstrap 3.3.6 -->
    <link rel="stylesheet" href="/dist/plugins/bootstrap/css/bootstrap.min.css">
    <!--字体-->
    <link rel="stylesheet" href="/dist/css/font-awesome.min.css">
    <!--图标-->
    <link rel="stylesheet" href="/dist/css/ionicons.min.css">
    <!--OA主样式-->
    <link rel="stylesheet" href="/dist/css/OA.min.css?t=86e2297f">
    <link rel="stylesheet" href="/dist/css/skins/OA-skins.min.css?t=222aea35">

</head>
<body>
<section class="content" id="list">

    <!--<div class="nav-tabs-custom oaReportNav">-->
        <!--&lt;!&ndash; Tabs within a box &ndash;&gt;-->
        <!--<ul class="nav nav-tabs pull-right" style="margin-bottom: 10px;">-->
            <!--<li class="active"><a href="#revenue-chart" data-toggle="tab">今天</a></li>-->
            <!--<li><a href="#revenue-chart" data-toggle="tab">本月</a></li>-->
            <!--<li v-for="(item,i) in months"><a href="#sales-chart" data-toggle="tab">{{item}}</a></li>-->
        <!--</ul>-->
    <!--</div>-->
    <div class="box-body no-padding" style="overflow: auto;background: #fff;">
        <table class="table table-hover table-bordered" style="max-width: 400px"  cellspacing= "0">
            <thead>
            <tr>
                <th style="width: 100px;text-align: center">公司</th>
                <th style="width: 100px;text-align: center">总经理/销售总监</th>
                <th style="width: 60px;text-align: center">展会数量</th>

            </tr>
            </thead>
            <tbody>
            <tr v-for="(item, i) in groupList">
                <td @click="toCompanyList(item)" class='clickable' style="width: 30px;text-align: center;color:#169BD5;cursor: pointer;">{{item.companyName}}</td>
                <td style="width: 30px;text-align: center">{{item.managerName}}</td>
                <td style="width: 30px;text-align: center">{{item.unExhibition}}</td>
            </tr>
            </tbody>
        </table>
    </div>
    <!-- /.box-body -->
</section>
<script src="https://file.ggxqce.com/web/jquery-2.2.3.min.js"></script>
<!--插件JS-->
<script src="https://file.ggxqce.com/web/bootstrap.min.js"></script>
<!--框架已定义 JS-->
<script src="/dist/js/app_iframe.js?t=8e743a31"></script>
<!--oa自定义  JS-->
<script src="/dist/js/oa.js?t=54c6b89c"></script>
<script src="https://file.ggxqce.com/web/vue.min.js"></script>
<script type="text/javascript" src="/dist/plugins/lhgdialog/lhgdialog.min.js?self=true"></script>
<script type="text/javascript">

    var app = new Vue({
        el: '#list',
        data: {
            groupList:[]
        },
        methods: {
            toCompanyList:function (item) {
                var that=this;
                url = "reportForm/exhibition/companyList.html"
                top.addTabs({id: "exhibitionCompany", title: "展会列表", close: true, url: url+ '?companyId=' + item.companyId});
            }
    },

        mounted: function () {
            var that = this;
            $.wyui.postMethod("/exhibition/getExhibitionByCompany.json", {}, function (r) {
                console.log(r);
                that.groupList = r;
            });
        }
    });
</script>

</body>
</html>